package tw101.bm;

/**
 * Created by Alan on 12/29/13.
 */
public class RightTrianglePrinter extends ShapePrinter {

    public static void main (String[] args) {
        int numLines = getN(args);
        new RightTrianglePrinter().makeShape(numLines);
    }

    void makeShape(int n) {
        int spaces = 0;
        int lines = n;

        for (int asterisks=1; asterisks<=lines; asterisks++) {
            printLine(spaces, asterisks);
        }
    }
}